package cn.flexui.flexuiserver.domain.entity;

import cn.flexui.flexuiserver.domain.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 代码记录
 * </p>
 *
 * @author apeto
 * @since 2024-09-26 08:51:01
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("chat_code_record")
@Schema(name = "ChatCodeRecord", description = "代码记录")
public class ChatCodeRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "历史记录ID")
    @TableField("chat_record_id")
    private Long chatRecordId;

    @Schema(description = "用户ID")
    @TableField("user_id")
    private Long userId;

    @Schema(description = "流水号")
    @TableField("request_id")
    private String requestId;

    @Schema(description = "策略名称")
    @TableField("code")
    private String code;

    @Schema(description = "代码类型")
    @TableField("code_type")
    private String codeType;

    @Schema(description = "代码标题")
    @TableField("title")
    private String title;
}
